package com.fl.util;

import javax.swing.ImageIcon;

public class IconUtil {

	public static ImageIcon getImageIcon(String fileName) {
		return new ImageIcon(Thread.currentThread().getContextClassLoader()
				.getResource("resources/common/ico/" + fileName));
	}

	public static ImageIcon getGreenLightIcon() {
		return getImageIcon("special/light_green.png");
	}

	public static ImageIcon getRedLightIcon() {
		return getImageIcon("special/light_red.png");
	}

}
